<template>
  <div class="home-header">
    <div class="home-logo">这是logo</div>
    <div class="home-search">
      <van-icon class-prefix="icon" name="sousuo1"></van-icon>
      <span>搜索商品</span>
    </div>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped lang="scss">
.home-header{
  height: 50px;
  width: 100%;
  background-color: #e93323;
  padding: 0 10px;
  display: flex;
  align-items: center;
  position: fixed;
  color: #fff;
  z-index: -1;
  left: 0;
  top:0;
  .home-logo{
    height: 50px;
    width: 92PX;
    background-color: rgb(224, 144, 40);
  }
  .home-search{
    margin-left: 10px;
    height: 36px;
    border-radius: 18px;
    border: 1px solid #999;
    flex: 1;
    display: flex;
    align-items: center;
    :deep .icon{
      margin: 0 8px;
    }
  }
}
</style>